<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>苏宁</title>
		<script type="text/javascript">
			var controller = '__CONTROLLER__';
			var root = '__ROOT__';
		</script>
		<link rel="stylesheet" href="__TEMPLATE__/css/publicUser.css" />
		<link rel="stylesheet" href="__TEMPLATE__/css/userAddress.css" />
		<script type="text/javascript" src="__TEMPLATE__/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__TEMPLATE__/js/public.js"></script>
<script type="text/javascript" src="__TEMPLATE__/js/useraddress.js"></script>
	</head>

	<body>

		<!-- 头部开始 -->
			<include file="__TEMPLATE__/sHeader"/>
		<!-- 头部结束 -->
<!--新导航菜单开始-->
<div id="newwarp">  <!--100%宽度-->
					<include file="__TEMPLATE__/sNav"/>	
<!-- 用户中心主体内容开始 -->
<div class="clear"></div>
<div id="usermain">
	<div id="userleft">

				<!-- 用户中心左侧功能列表 -->
				<include file="__TEMPLATE__/userLeft"/>		
			<!-- 用户中心左侧功能列表结束 -->
	</div>
	<div id="userRight">
	<div class="userTit">
		<li>
			地址管理
		</li>
		
	</div>
	<div class="userContent">
	<!-- 配送信息开始 -->

	<div class="address addressshow">
		<li class="addTit">配送地址</li>
		
		<foreach from="$address" key="$k" value="$v">
		<li class="checkAddress sendto" addressid ='{$v.address_id}'><span class="posi"></span>寄送至： <input type="radio" name="sendto" value="{$v.address_id}" />
    {$v.user_address_name}   {$v.user_address_tel}   {$v.user_address_place}  {$v.user_address_all}<span class="gobackgShopping makedefault"   addressid ='{$v.address_id}'><if value="$v.user_address_isdefault = 0">设为默认地址</if><if value="$v.user_address_isdefault = 1">默认地址</if></span> <a class="gobackgShopping editAddress" href="javascript:;" addressid ="{$v.address_id}">修改</a>   <a href='javascript:;' addressid ="{$v.address_id}" class="gobackgShopping delAddress">删除</a>
   
</li>
		</foreach>
		<li class="checkAddress add addAddressbtn"><span class="posi"></span>寄送至： <input type="radio" class="add_address_btn" />添加新地址</li>
		
		<div class="add addNewAddress">
			<div class="userInput">
				<li class="left"><span>*</span>收货人:</li>
				<li class="rightInput">
					<input type="text" name="order_receiver" class="order_receiver" />
					<div class=""><span class="alert user_receiverok"></span></div>
					<div class=""><span class=" error user_receiver"></span></div>
				</li>
				<li class="left"><span>*</span>手机：</li>
				<li class="rightInput">
					<input type="text" name='order_user_tel' class="order_user_tel"/>
					<div class=""><span class=" error tel"></span></div>				
					<div class=""><span class="alert telok"></span></div>
				</li>
								<li class="left"><span>*</span>电话：</li>
				<li class="rightInput">
					<input type="text" name='order_phone' />
				</li>
			<li class="left"><span>*</span>所在地区：</li>
				<li class="rightInput">
					<input type="text" name='order_user_place' />
				</li>
			<li class="left"><span>*</span>详细地址：</li>
				<li class="rightInput">
					<input type="text" name='order_address' class="order_address" />
					<div class=""><span class="error order_addressalert"></span></div>				
					<div class=""><span class="alert order_addressok"></span></div>
				</li>
				<li class="btnmargin">
					<input type="button" class="saveUserInfo besureAddress" value="确认" />
					<input type="button" class="saveUserInfo editAddressbtn" value="确认" />
					<input type="button" class="saveUserInfo quit" value="取消" />
				</li>
			</div>
		</div>
	</div>
	<!-- 配送信息结束 -->
	</div>
	</div>
</div>
<!-- 用户中心主体内容结束 -->
<!-- main结束 -->
				<div class="clear"></div>
				<!-- foot开始 -->
				<include file="__TEMPLATE__/bFooter"/>
				<!-- foot结束 -->
	</body>

</html>